include ../common_layout
include lib

mixin doctype

html(xmlns="http://www.w3.org/1999/xhtml")
  head
    mixin head
  
  body
    div.container
        .span3#sidebarContainer
          #sidebar
            include ppc_menu.jade
        .span9#mainContent
          #documentation
            -if (isIndex)
              mixin markdown(indexContent)
            -else
              mixin api()

          div(id="disqus_thread")
    .push

    mixin endingScripts